package com.sardine.base.esm.session;

import com.sardine.base.esm.session.defaults.DefaultEsmSessionFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 上海京东到家元信信息技术有限公司<br>
 * Created with IntelliJ IDEA.
 * Date:2017/5/22
 * Time:10:52
 * 构建 EsmSessionFactory 的builder
 * @author daifeng<br>
 *         daifeng@imdada.cn
 * @since JDK 1.7 <br>
 * Copyright (c) 2017 imdada System Incorporated All Rights Reserved.
 */
public class EsmSessionFactoryBuilder {
    private static final Logger logger = LoggerFactory.getLogger(EsmSessionFactoryBuilder.class);
    public EsmSessionFactory build(Configuration config) {
        logger.info("构建默认的 DefaultEsmSessionFactory 完成");
        return new DefaultEsmSessionFactory(config);
    }
}
